package com.beifu.manager.dao;

import com.beifu.manager.model.AssetOut;
import com.beifu.manager.model.AssetOutExample;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.beifu.manager.vo.assetout.WashReportVo;
import org.apache.ibatis.annotations.Param;

public interface AssetOutMapper {
    int countByExample(AssetOutExample example);

    int deleteByExample(AssetOutExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AssetOut record);

    int insertSelective(AssetOut record);

    List<AssetOut> selectByExample(AssetOutExample example);

    AssetOut selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AssetOut record, @Param("example") AssetOutExample example);

    int updateByExample(@Param("record") AssetOut record, @Param("example") AssetOutExample example);

    int updateByPrimaryKeySelective(AssetOut record);

    int updateByPrimaryKey(AssetOut record);

    List<AssetOut> selectAll();

    List<AssetOut> getAssetOutPages(@Param("start") int start, @Param("pageNum") int pageNum,  @Param("example")AssetOutExample example);

    void insertAndGetId(AssetOut assetOut);

    int countWashReport(Map map);

    List<WashReportVo> selectWashReportByPage(@Param("start") int start, @Param("pageNum") int pageNum, @Param("map")Map<String, Object> map);

    /**
     * 查询洗涤年份
     */
    Set<String> selectWashYear();

    void batchDelAssetOut(String[] idsArr);
}